package com.job.action;

import com.job.service.CompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 公司列表页面控制
 * @author hasee
 */
@Controller
public class Companylist {
//    private CompanyService companyService;

    /**
     * 第一次点击到
     * @param page 页数 默认为1
     * @param model
     * @return 页面
     */
    @RequestMapping("/companylist.do")
    public String companylist(@RequestParam (defaultValue = "1" ,required = false) int page, Model model){
        return "companylist";
    }


}
